﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PrintLabel.Model
{
    public class Parameter
    {
        public string Server { get; set; } = string.Empty;
        public string Database { get; set; } = string.Empty;
        /// <summary>
        /// 波特率
        /// </summary>
        public string BaudRate { get; set; }=string.Empty;
        /// <summary>
        /// 码表类型
        /// </summary>
        public string Stopwatch { get; set; } = string.Empty;
        /// <summary>
        /// 端口号
        /// </summary>
        public string ComNum { get; set; } = string.Empty;
        /// <summary>
        /// 票签模版
        /// </summary>
        public string Shippingmark { get; set; } = string.Empty;
        /// <summary>
        /// 打印份数
        /// </summary>
        public int Copies { get; set; } = 1;
        /// <summary>
        /// 机台号
        /// </summary>
        public int MachineID { get; set; } =1;
        /// <summary>
        /// 是否外检
        /// </summary>
        public string  OutsideInspection { get; set; } ="否" ;
        /// <summary>
        /// 外检地
        /// </summary>
        public string OutsideInspectionPlace { get; set; } = string.Empty;
        /// <summary>
        /// 注册码
        /// </summary>
        public string RegisterCode { get; set; } = string.Empty;
        /// <summary>
        /// 自动补号
        /// </summary>
        public Boolean AutoRollNumber { get; set; } = true;
        /// <summary>
        ///自动总量
        /// </summary>
        public Boolean AutoWeight { get; set; } = true;

    }
}
